luci-app-vpn-policy-routing: fix markup which is not valid XHTML
authorJo-Philipp Wich <[email protected]>
Fri, 8 Oct 2021 17:43:38 +0000 (19:43 +0200)
committerJo-Philipp Wich <[email protected]>
Fri, 8 Oct 2021 17:53:09 +0000 (19:53 +0200)
XHTML does not specify `&nbsp;`, use `&#160;` instead.

Signed-off-by: Jo-Philipp Wich <[email protected]>
applications/luci-app-vpn-policy-routing/luasrc/model/cbi/vpn-policy-routing.lua
applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/buttons.htm

index c75f1e373d0ac5c1aef90b12348b0955500a7ae0..abd01013651a84fa2f940f061424e024b5ff8d72 100644 (file)
@@ -187,7 +187,7 @@ ipv6:value("1", translate("Enabled"))
 
 -- Advanced Options
 config:tab("advanced", translate("Advanced Configuration"),
-       translatef("%sWARNING:%s Please make sure to check the %sREADME%s before changing anything in this section! Change any of the settings below with extreme caution!%s" , "<br/>&nbsp;&nbsp;&nbsp;&nbsp;<b>", "</b>", "<a href=\"" .. readmeURL .. "#service-configuration-settings" .. "\" target=\"_blank\">", "</a>", "<br/><br/>"))
+       translatef("%sWARNING:%s Please make sure to check the %sREADME%s before changing anything in this section! Change any of the settings below with extreme caution!%s" , "<br/>&#160;&#160;&#160;&#160;<b>", "</b>", "<a href=\"" .. readmeURL .. "#service-configuration-settings" .. "\" target=\"_blank\">", "</a>", "<br/><br/>"))
 
 supportedIface = config:taboption("advanced", DynamicList, "supported_interface", translate("Supported Interfaces"), translate("Allows to specify the list of interface names (in lower case) to be explicitly supported by the service. Can be useful if your OpenVPN tunnels have dev option other than tun* or tap*."))
 supportedIface.optional = false
index 8a64698b6c40db769a53d2a233cf7c1d33c4d900..b28329f18753519a7376ca5c758e6142bbf8ec85 100644 (file)
                <input type="button" class="btn cbi-button cbi-button-reset" id="btn_stop" name="stop" value="<%:Stop%>"
                        onclick="button_action(this)" />
                <span id="btn_stop_spinner" class="btn_spinner"></span>
-               &nbsp;
-               &nbsp;
-               &nbsp;
-               &nbsp;
+               &#160;
+               &#160;
+               &#160;
+               &#160;
                <input type="button" class="btn cbi-button cbi-button-apply" id="btn_enable" name="enable" value="<%:Enable%>"
                        onclick="button_action(this)" />
                <span id="btn_enable_spinner" class="btn_spinner"></span>